package com.shop2cn.iapi.sqoptrade.parameter.req;

import java.util.List;
import java.util.Map;

import com.shop2cn.iapi.sqoptrade.parameter.enums.AppTerminalSourceEnum;
import com.shop2cn.iapi.sqoptrade.parameter.enums.OrderSourceEnum;
import com.shop2cn.iapi.sqoptrade.parameter.enums.TerminalSourceEnum;
import com.shop2cn.iapi.sqoptrade.parameter.vo.OnMainOrderCreatedDetailExtVo;

/**

 */
@SuppressWarnings("serial")
public class OnMainOrderCreatedReq extends BaseRequest {

	private Long mainOrderId;

	private String address;

	private String postCode;

	//订单号, 留言
	private Map<Long, String> leaveWords;

	//<订单号，买手LoginId>
	private Map<Long, String> sellerLoginIds;

	//商品信息
	private List<OnMainOrderCreatedDetailExtVo> detailExts;

	// 订单来源
	private OrderSourceEnum orderSource;

	// 终端来源
	private TerminalSourceEnum terminalSource;

	// 应用终端来源
	private AppTerminalSourceEnum appTerminalSource;

	// 买家IP
	private String sourceIp;

	// 设备ID
	private String deviceId;

	// 用户设备原始ID,例如IMEI等
	private String equipmentId;

	public Long getMainOrderId() {
		return mainOrderId;
	}

	public void setMainOrderId(Long mainOrderId) {
		this.mainOrderId = mainOrderId;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	public Map<Long, String> getLeaveWords() {
		return leaveWords;
	}

	public void setLeaveWords(Map<Long, String> leaveWords) {
		this.leaveWords = leaveWords;
	}

	public List<OnMainOrderCreatedDetailExtVo> getDetailExts() {
		return detailExts;
	}

	public void setDetailExts(List<OnMainOrderCreatedDetailExtVo> detailExts) {
		this.detailExts = detailExts;
	}

	public OrderSourceEnum getOrderSource() {
		return orderSource;
	}

	public void setOrderSource(OrderSourceEnum orderSource) {
		this.orderSource = orderSource;
	}

	public TerminalSourceEnum getTerminalSource() {
		return terminalSource;
	}

	public void setTerminalSource(TerminalSourceEnum terminalSource) {
		this.terminalSource = terminalSource;
	}

	public AppTerminalSourceEnum getAppTerminalSource() {
		return appTerminalSource;
	}

	public void setAppTerminalSource(AppTerminalSourceEnum appTerminalSource) {
		this.appTerminalSource = appTerminalSource;
	}

	public String getSourceIp() {
		return sourceIp;
	}

	public void setSourceIp(String sourceIp) {
		this.sourceIp = sourceIp;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getEquipmentId() {
		return equipmentId;
	}

	public void setEquipmentId(String equipmentId) {
		this.equipmentId = equipmentId;
	}

	public Map<Long, String> getSellerLoginIds() {
		return sellerLoginIds;
	}

	public void setSellerLoginIds(Map<Long, String> sellerLoginIds) {
		this.sellerLoginIds = sellerLoginIds;
	}
}
